Don't list images from unknown directories in icon cache
authorLoic Minier <lool@dooz.org>
Sun, 21 Oct 2007 20:05:42 +0000 (22:05 +0200)
committerSimon McVittie <smcv@debian.org>
Sun, 30 Sep 2018 15:45:24 +0000 (16:45 +0100)
commitd6bac1a3315ec8b86a9da4eea7f417436e19000d
tree004b73aa76352d9de0253bc7305c14cdd63489cc
parent5bce5141a28f3363d8e81d6e688b5dc9a837939c
Don't list images from unknown directories in icon cache

After GTK+ 2.12.0, gtk-update-icon-cache fails if there is a PNG file
placed directly in /usr/share/icons/hicolor (not in a correct
subdirectory like 48x48/apps).

TODO: This is believed to have been fixed differently upstream, so maybe
this change is no longer necessary:
"I believe a slightly different fix that I did some time ago fixes this
too." --Matthias Clasen, 2008-02-16 04:43:10 UTC

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=451634
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=444285
Forwarded: yes
Applied-upstream: no

Gbp-Pq: Name 060_ignore-random-icons.patch
gtk/updateiconcache.c